import 'package:car_map/widget/widget_agree_button.dart';
import 'package:car_map/widget/widget_realname_titlecount.dart';
import 'package:car_map/widget/widget_square_input.dart';
import 'package:flutter/material.dart';

///实名认证查询
class RealNameQueryPage extends StatefulWidget{
  @override
  _realNameQueryState createState()=>_realNameQueryState();

}

class _realNameQueryState extends State<RealNameQueryPage>{
  @override
  Widget build(BuildContext context) {
    // TODO: implement build
    return Scaffold(
      appBar: AppBar(
        title: Text('实名认证'),
      ),
      body: Container(
        padding: EdgeInsets.only(left: 10.0,right: 10.0),
        child: ListView(
          children: <Widget>[
            WidgetRealNameTitleCount(title: '身份证实名认证查询',contextValue: '查询贷款人姓名和身份证号码是否匹配。',),
            WidgetSquareInput(title: '姓名',hintText: '必填',textInputType: TextInputType.text,),
            WidgetSquareInput(title: '身份证号',hintText: '必填',textInputType: TextInputType.number,),
            WidgetAgreeButton(terms: '我同意通过互联网查询，自愿承担风险',note: '注:查询身份证实名认证需要支付2元，谢谢',),
          ],
        ),
      ),
    );
  }

}